package com.cfs.svc.bz;

import java.util.List;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import com.cfs.po.bz.RepairItem;
import com.cfs.vo.Condition;

@Path("/Repairitem")
public interface RepairItemService {
	@POST
	@Path("/get")
	public List<RepairItem> list(Condition c);
	
	@GET
	@Path("/list")
	public List<RepairItem> list();
	
	@GET
	@Path("/get/{id}")
	public RepairItem get(@PathParam("id")Long id);

	@POST
	@Path("/add")
	public Long add(RepairItem r);

	@GET
	@Path("/del/{id}")
	public int deleteById(@PathParam("id") Long id);

	@POST
	@Path("/upd")
	public Long update(RepairItem r);
}
